hysop.backend.device package¶
- hysop.backend.device.KERNEL_DUMP_FOLDER = 'generated_kernels'¶
Default folder name to dump debug opencl kernel sources
Subpackages¶
- hysop.backend.device.codegen package
CodeGeneratorWarning- Subpackages
- hysop.backend.device.opencl package
OPENCL_KERNEL_DUMP_FOLDER__OPENCL_PROFILE__clclArrayclCharacterizeclElementwiseclRandomclReductionclScanclToolsclTypes- Subpackages
- Submodules
- hysop.backend.device.opencl.clpeak module
- hysop.backend.device.opencl.opencl_allocator module
- hysop.backend.device.opencl.opencl_array module
- hysop.backend.device.opencl.opencl_array_backend module
- hysop.backend.device.opencl.opencl_autotunable_kernel module
- hysop.backend.device.opencl.opencl_buffer module
- hysop.backend.device.opencl.opencl_copy_kernel_launchers module
- hysop.backend.device.opencl.opencl_device module
- hysop.backend.device.opencl.opencl_elementwise module
- hysop.backend.device.opencl.opencl_env module
- hysop.backend.device.opencl.opencl_fft module
- hysop.backend.device.opencl.opencl_hardware_backend module
- hysop.backend.device.opencl.opencl_kernel module
- hysop.backend.device.opencl.opencl_kernel_autotuner module
- hysop.backend.device.opencl.opencl_kernel_autotuner_config module
- hysop.backend.device.opencl.opencl_kernel_config module
- hysop.backend.device.opencl.opencl_kernel_launcher module
- hysop.backend.device.opencl.opencl_kernel_statistics module
- hysop.backend.device.opencl.opencl_mempool module
- hysop.backend.device.opencl.opencl_operator module
- hysop.backend.device.opencl.opencl_operators module
- hysop.backend.device.opencl.opencl_platform module
- hysop.backend.device.opencl.opencl_printer module
- hysop.backend.device.opencl.opencl_symbolic module
- hysop.backend.device.opencl.opencl_tools module
- hysop.backend.device.opencl.opencl_types module
OpenClTypeGenTypeGenbasetype()cl_type_to_dtype()cl_vec_type_to_scalar_and_count()components()doublen()float_to_dec_str()float_to_hex_str()intn()itype()make_doublen()make_intn()make_simplen()make_typen()make_uintn()mangle_vtype()np_dtype()npmake()simplen()typen()uintn()uitype()vtype()vtype_access()vtype_component_adressing()
Submodules¶
- hysop.backend.device.autotunable_kernel module
AutotunableKernelAutotunableKernel.autotune()AutotunableKernel.check_cartesian_field()AutotunableKernel.check_cartesian_fields()AutotunableKernel.compute_args_mapping()AutotunableKernel.compute_global_work_size()AutotunableKernel.compute_min_max_wg_size()AutotunableKernel.compute_parameters()AutotunableKernel.compute_work_bounds()AutotunableKernel.compute_work_candidates()AutotunableKernel.custom_hash()AutotunableKernel.format_best_candidate()AutotunableKernel.generate_kernel_src()AutotunableKernel.hash_extra_kwds()AutotunableKernel.hash_extra_parameters()AutotunableKernel.input_mesh_info()AutotunableKernel.max_device_work_dim()AutotunableKernel.max_device_work_group_size()AutotunableKernel.max_device_work_item_sizes()AutotunableKernel.mesh_info()AutotunableKernel.output_mesh_info()
AutotunerParameterConfigurationAutotunerWorkBoundsConfigurationAutotunerWorkBoundsConfiguration.iter_work_loads()AutotunerWorkBoundsConfiguration.max_device_work_dimAutotunerWorkBoundsConfiguration.max_device_work_group_sizeAutotunerWorkBoundsConfiguration.max_device_work_item_sizesAutotunerWorkBoundsConfiguration.max_work_loadAutotunerWorkBoundsConfiguration.min_work_loadAutotunerWorkBoundsConfiguration.preferred_work_group_size_multipleAutotunerWorkBoundsConfiguration.work_dimAutotunerWorkBoundsConfiguration.work_size
AutotunerWorkConfigurationAutotunerWorkConfiguration.filter_namesAutotunerWorkConfiguration.filtersAutotunerWorkConfiguration.global_work_sizeAutotunerWorkConfiguration.iter_local_work_size()AutotunerWorkConfiguration.make_array_args()AutotunerWorkConfiguration.make_array_offset()AutotunerWorkConfiguration.make_array_strides()AutotunerWorkConfiguration.make_dt()AutotunerWorkConfiguration.make_parameter()AutotunerWorkConfiguration.max_wg_size_filter()AutotunerWorkConfiguration.max_wi_sizes_filter()AutotunerWorkConfiguration.min_wi_sizes_filter()AutotunerWorkConfiguration.ordered_workload_filter()AutotunerWorkConfiguration.push_filter()AutotunerWorkConfiguration.set_local_work_size_generator()AutotunerWorkConfiguration.work_boundsAutotunerWorkConfiguration.work_dimAutotunerWorkConfiguration.work_load
- hysop.backend.device.device_allocator module
- hysop.backend.device.device_buffer module
- hysop.backend.device.device_info module
- hysop.backend.device.device_operators module
- hysop.backend.device.device_platform module
- hysop.backend.device.kernel_autotuner module
KernelAutotunerKernelAutotuner.DUMP_LAST_TUNED_KERNELKernelAutotuner.FULL_RESULTS_KEYKernelAutotuner.STORE_FULL_KERNEL_SOURCESKernelAutotuner.autotune()KernelAutotuner.autotuner_config_key()KernelAutotuner.bench_one_from_binary()KernelAutotuner.bench_one_from_source()KernelAutotuner.build_from_source()KernelAutotuner.cache_dir()KernelAutotuner.cache_file()KernelAutotuner.check_kernel()KernelAutotuner.check_kernel_args()KernelAutotuner.collect_kernel_infos()KernelAutotuner.use_system_cache()KernelAutotuner.use_tmp_cache()
KernelGenerationError
- hysop.backend.device.kernel_autotuner_config module
- hysop.backend.device.kernel_autotuner_statistics module
- hysop.backend.device.kernel_config module
- hysop.backend.device.kernel_statistics module
- hysop.backend.device.logical_device module
LogicalDeviceLogicalDevice.address_bits()LogicalDevice.available()LogicalDevice.compiler_available()LogicalDevice.device_idLogicalDevice.error_correction_support()LogicalDevice.fp16_config()LogicalDevice.fp32_config()LogicalDevice.fp64_config()LogicalDevice.global_mem_cache_size()LogicalDevice.global_mem_cache_type()LogicalDevice.global_mem_cacheline_size()LogicalDevice.global_mem_size()LogicalDevice.hardware_device_id()LogicalDevice.hardware_device_id_str()LogicalDevice.has_1d_image_array_support()LogicalDevice.has_1d_image_support()LogicalDevice.has_1d_image_write_support()LogicalDevice.has_2d_array_image_support()LogicalDevice.has_2d_image_from_buffer_support()LogicalDevice.has_2d_image_from_image_support()LogicalDevice.has_2d_image_support()LogicalDevice.has_2d_image_write_support()LogicalDevice.has_3d_image_support()LogicalDevice.has_3d_image_write_support()LogicalDevice.has_device_partition_support()LogicalDevice.has_dx10_sharing()LogicalDevice.has_dx11_sharing()LogicalDevice.has_dx9_sharing()LogicalDevice.has_fp16()LogicalDevice.has_fp32()LogicalDevice.has_fp64()LogicalDevice.has_gl_event_sharing()LogicalDevice.has_gl_msaa_sharing()LogicalDevice.has_gl_sharing()LogicalDevice.has_global_float32_atomics()LogicalDevice.has_global_float64_atomics()LogicalDevice.has_global_int32_atomics()LogicalDevice.has_global_int64_atomics()LogicalDevice.has_image_support()LogicalDevice.has_int32_hardware_atomic_counters()LogicalDevice.has_int64_hardware_atomic_counters()LogicalDevice.has_local_float32_atomics()LogicalDevice.has_local_float64_atomics()LogicalDevice.has_local_int32_atomics()LogicalDevice.has_local_int64_atomics()LogicalDevice.has_mixed_float32_atomics()LogicalDevice.has_mixed_float64_atomics()LogicalDevice.has_mixed_int32_atomics()LogicalDevice.has_mixed_int64_atomics()LogicalDevice.has_printf_support()LogicalDevice.has_profiling_support()LogicalDevice.has_queue_priority_support()LogicalDevice.image_base_address_alignment()LogicalDevice.image_max_array_size()LogicalDevice.image_max_buffer_size()LogicalDevice.image_pitch_aligment()LogicalDevice.little_endian()LogicalDevice.local_mem_size()LogicalDevice.local_mem_type()LogicalDevice.max_1d_image_array_size()LogicalDevice.max_1d_image_size()LogicalDevice.max_2d_image_array_size()LogicalDevice.max_2d_image_size()LogicalDevice.max_3d_image_size()LogicalDevice.max_block_dim()LogicalDevice.max_block_size()LogicalDevice.max_clock_frequency()LogicalDevice.max_constant_args()LogicalDevice.max_global_alloc_size()LogicalDevice.max_grid_dim()LogicalDevice.max_grid_size()LogicalDevice.max_image_args()LogicalDevice.max_read_image_args()LogicalDevice.max_samplers()LogicalDevice.max_subdevices()LogicalDevice.max_threads_per_block()LogicalDevice.max_write_image_args()LogicalDevice.name()LogicalDevice.physical_devicesLogicalDevice.platformLogicalDevice.platform_name()LogicalDevice.preferred_global_atomic_alignment()LogicalDevice.preferred_local_atomic_alignment()LogicalDevice.preferred_platform_atomic_alignment()LogicalDevice.printf_buffer_size()LogicalDevice.profiling_time_resolution()LogicalDevice.simd_lane_size()LogicalDevice.to_string()LogicalDevice.type()LogicalDevice.vendor()LogicalDevice.vendor_id()
UnknownDeviceAttribute